package com.an.blog.service;

import com.an.blog.admin.domain.bo.BlogSocialUserBo;
import com.an.blog.admin.domain.vo.BlogSocialUserVo;

import java.util.Collection;
import java.util.List;

/**
 * 社会化用户
 * Service接口
 *
 * @author Ann
 * @date 2023-08-22
 */
public interface IBlogSocialUserService {


    /**
     * 查询社会化用户
     * 列表
     */
    List<BlogSocialUserVo> queryList(BlogSocialUserBo bo);

    /**
     * 新增社会化用户
     */
    Boolean insertByBo(BlogSocialUserBo bo);

    /**
     * 修改社会化用户
     */
    Boolean updateByBo(BlogSocialUserBo bo);

    /**
     * 校验并批量删除社会化用户
     * 信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);

    /**
     * 查询一个源和uuid
     *
     * @param source 源
     * @param uuid   uuid
     * @return {@link BlogSocialUserVo }
     * @author: Ann
     * @createDate: 2023/08/25 19:47:05
     * @version: 1.0.0
     */
    BlogSocialUserVo queryOneBySourceAndUuid(String source, String uuid);

    /**
     * 查询一个
     *
     * @param blogSocialUserBo 博客社会用户业务对象
     * @return {@link BlogSocialUserVo }
     * @author: Ann
     * @createDate: 2023/08/25 21:33:19
     * @version: 1.0.0
     */
    BlogSocialUserVo queryOne(BlogSocialUserBo blogSocialUserBo);
}
